#region Using
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
#endregion Using

namespace PhotoGallery.Core.Providers.DALProvider
{
	public interface IPicNodeProvider
	{
		Business.PicNode Select(int id);
		void Update(Business.PicNode picNode);
		void Delete(Business.PicNode picNode);
		void Insert(Business.PicNode picNode);

        ICollection<Business.PicNode> GetSubs(int nodeId);

        Business.PicNode GetRoot();

        void InsertNew(Business.PicNode node);

        ICollection<Business.PicNode> GetRoots();

        void DeleteDesc(int id);



        Business.FolderSearchModel Search(Business.FolderSearch packet);

        Business.PicNode FindByPath(string path);

        Business.PicNode Find(string result, int status);
    }
}
